package br.com.agenda.negocio.entity;

import java.rmi.Remote;
import java.rmi.RemoteException;
import java.util.List;


public interface IAgenda extends Remote{

	public IUsuario getUsuario() throws RemoteException;
	public void adicionarContato(IUsuario usua) throws RemoteException;
	public IUsuario localizarContato(String nome) throws RemoteException;
	public List<IUsuario> getContatos() throws RemoteException;
	public void adicionarEvento(IEvento evento)throws RemoteException;
	public IEvento localizarEvento(String nome)throws RemoteException;
	public List<IEvento> getEventos()throws RemoteException;
	public void adicionarEventoPendente(IEvento evento) throws RemoteException;
	public List<IEvento> getEventosPendentes()throws RemoteException;
	public IEvento localizarEventoPendentes(String nome) throws RemoteException;
	public boolean possuiEventoPendente() throws RemoteException;
	public void setEventosAguardandoConfirmacao(IEvento eventosAguardandoConfirmacao) throws RemoteException;
	public List<IEvento> getEventosAguardandoConfirmacao() throws RemoteException;
	public void adicionarEventoPendentes(List<IEvento> evento) throws RemoteException;
	
		
	

}
